package com.mall.client.user;

import java.util.List;

import com.mall.pojo.Address;
import com.mall.pojo.AddressExample;

public interface AddressService {

	List<Address> getAddressLsitByExample(AddressExample example);

	Address getAddressById(Long addressId);

	int insertAddress(Address address);

	int modifyAddressByPrimaryKey(Address addressMo);

	/*
	 * 查询默认地址（唯一）
	 */
	Address getDefaultAddressByUserId(Long id);
	

}
